import request from "@/utils/request";

// 查询bgeoinfo列表
export function listBgeoinfo(query) {
  return request({
    url: "/api/v1/bgeoinfoList",
    method: "get",
    params: query
  });
}

// 查询bgeoinfo详细
export function getBgeoinfo(companyId) {
  return request({
    url: "/api/v1/bgeoinfo/" + companyId,
    method: "get"
  });
}

// 新增bgeoinfo
export function addBgeoinfo(data) {
  return request({
    url: "/api/v1/bgeoinfo",
    method: "post", 
    data: data
  });
}

// 修改bgeoinfo
export function updateBgeoinfo(data) {
  return request({
    url: "/api/v1/bgeoinfo",
    method: "put",
    data: data
  });
}

// 删除bgeoinfo
export function delBgeoinfo(companyId) {
  return request({
    url: "/api/v1/bgeoinfo/" + companyId,
    method: "delete"
  });
}
